package com.TP.www.dao.impl;

import com.TP.www.po.Store;
import com.TP.www.util.JdbcUtils;

import java.util.List;


/**
 * @author 邱彦祥
 */
public class StoreDAO implements com.TP.www.dao.Store {

    @Override
    public  int executeUpdate(String sql, Object... objects){
        return JdbcUtils.executeUpdate(sql, objects);
    }

    @Override
    public  List<Store> executeQuery(String sql, Object... objects){
        return JdbcUtils.executeQuery(sql,new Store(),objects);
    }
}
